﻿var buttonlist = {
    gridDefine: {
        toolbar: { items: [toolbarBtn.addbutton, toolbarBtn.editbutton] },
        columns: [
            { display: '图标', name: 'BUTTON_IMG', minWidth: 140 },
            { display: '名称', name: 'BUTTON_NAME', minWidth: 90 },
            { display: '位置', name: 'BUTTON_TYPE', minWidth: 80 },
            { display: '事件', name: 'BUTTON_CODE', minWidth: 80 },
            { display: '显示顺序', name: 'SORTCODE', minWidth: 80 },
            { display: '创建用户', name: 'CREATEUSERNAME', minWidth: 120 },
            { display: '创建时间', name: 'CREATEDATE', minWidth: 140 },
            { display: '修改用户', name: 'MODIFYUSERNAME', minWidth: 120 },
            { display: '修改时间', name: 'MODIFYDATE', minWidth: 140 },
            { display: '说明', name: 'BUTTON_REMAK', minWidth: 230 }
        ],
        url: App_Config.TadongUrl + "/AjaxMappingHandler.aspx",
        urlType: "ButtonList"
    },
    init: function () {
        jsPageRender(this, true);
    },
    search: function () {
        jsPageSearch(this);
    }
}
